package com.subsequent.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class AppointmentsVO {
    //id
    private Integer appointmentId;
    //订单号
    private String appointmentNo;
    //就诊码
    private Integer serialNumber;
    //就诊时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date appointmentDate;
    //星期
    private String week;
    //时段
    private String timeSlot;
    //挂号费
    private BigDecimal fee;
    //就诊人
    private String username;
    //电话
    private String phone;
    //身份证
    private String idCard;
    //科室
    private String deptName;
    //医生
    private String doctorName;
    //状态
    private Integer status;
}
